<?php 
if (!empty($_SESSION['authority'])) {
		$navigasi = $_SESSION['authority'];	
	} else {
		$navigasi = "";
	}

switch($navigasi){
case "admin" : {
echo "<form method=\"POST\" class=\"navbar-form pull-left\">";
    $arrbutton = array("Verifikasi User","Update Profil","Kelola User");
    foreach($arrbutton as $value){
    echo "<input type=\"submit\" name=\"$value\" height=\"25px\" class=\"btn btn-large btn-danger span2\" value=\"$value\">";
	};
echo "</form>";
break;
}
case "mitra" : {
echo "<form method=\"POST\" class=\"navbar-form pull-left\">";
    $arrbutton = array("Home Site","Update Profil","Rooms","Pesanan");
    foreach($arrbutton as $value){
    echo "<input type=\"submit\" name=\"$value\" height=\"25px\" class=\"btn btn-large btn-danger span2\" value=\"$value\">";
	};
echo "</form>";
break;
}
case "member" : {
echo "<form method=\"POST\" class=\"navbar-form pull-left\">";
    $arrbutton = array("Home Site","Update Profil","Search","Pesan Kamar");
    foreach($arrbutton as $value){
    echo "<input type=\"submit\" name=\"$value\" height=\"25px\" class=\"btn btn-large btn-danger span2\" value=\"$value\">";
	};
echo "</form>";
break;
}
default     : {
echo "<form method=\"POST\" class=\"navbar-form pull-left\">";
    $arrbutton = array("Home Site");
    foreach($arrbutton as $value){
    echo "<input type=\"submit\" name=\"$value\" height=\"25px\" class=\"btn btn-large btn-danger span2\" value=\"$value\">";
	};
echo "</form>";
break;
}
}
